<!--<? include L::getHtmlTpl('/html/head.html');
include L::getHtmlTpl('/html/navHover.html');
?>-->
<style>
    .of-paging_sort_def{
        font-size: 13px;
    }
</style>
<div class="right-frame jsIsClosed">
    <div class="all-title"><span></span><a>店小秘订单</a></div>
    <div class="search-form-wrapper clearfix">
        <form action="" id="search-form" class="search-form">
            <div class="row clearfix">
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">店小秘账号</span>
                        <select id="dxmAccount" class="form-control jsSearchInput" multiple>
                            <!--<? foreach ($this->dxmAccount as $val){ ?>-->
                            <option _value="$val"><!--<? echo $val; ?>--></option>
                            <!--<? } ?>-->
                        </select>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">店小秘订单号</span>
                        <input class="form-control jsSearchInput" id="orderId" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">订单状态</span>
                        <select class="form-control jsSearchInput" id="orderState" multiple>
                            <option value="已付款">已付款</option>
                            <option value="已审核">已审核</option>
                            <option value="已处理">已处理</option>
                            <option value="已发货">已发货</option>
                            <option value="已退款">已退款</option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">物流状态</span>
                        <select class="form-control jsSearchInput" id="trackDogStatus" multiple>
                            <!--<? foreach ($this->trackDogStatus as $key => $val){ ?>-->
                            <option _value="$key"><!--<? echo $val; ?>--></option>
                            <!--<? } ?>-->
                        </select>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">店铺</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="pAccount" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">包裹号</span>
                        <input class="form-control jsSearchInput" id="parcelNum" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">国家</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索(中文)" id="country" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">物流渠道</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="logistics" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">收件人</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="contact" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">跟踪号</span>
                        <input class="form-control jsSearchInput" id="trackNo" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">SKU</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="sku" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">1688订单号</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="pickingRemark" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm ">
                        <span class="input-group-addon">快递单号</span>
                        <input class="form-control jsSearchInput" placeholder="支持模糊搜索" id="singleExpress" type="text"/>
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">付款时间</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="paymentTimeStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="paymentTimeEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">打印面单时间</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="printTimeStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="printTimeEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">物流最后时间</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="logisticsTimeStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control wDateInputSearch readonly-bg" readonly="readonly" id="logisticsTimeEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">采购总成本</span>
                        <input type="text" class="form-control jsSearchInput" id="costPriceTotalStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control jsSearchInput" id="costPriceTotalEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">毛利润</span>
                        <input type="text" class="form-control jsSearchInput" id="grossStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control jsSearchInput" id="grossEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">毛利润率</span>
                        <input type="text" class="form-control jsSearchInput" id="grossMarginStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control jsSearchInput" id="grossMarginEnd" />
                    </div>
                </div>
                <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                    <div class="input-group input-group-sm">
                        <span class="input-group-addon">成本利润率</span>
                        <input type="text" class="form-control jsSearchInput" id="costMarginStart" />
                        <span class="input-group-addon">~</span>
                        <input type="text" class="form-control jsSearchInput" id="costMarginEnd" />
                    </div>
                </div>
                <div class=" row clearfix add-space">
                    <div class="col-sm-4 col-md-4 col-lg-3">
                        <input class="btn btn-success" onclick="dxmOrderObj.search('');" type="button" value="查询">
                        <input class="btn btn-warning" type="reset" onclick="dxmOrderObj.resetSelect('');" value="重置">
                        <input class="btn btn-info" onclick="dxmOrderObj.dxmOrderExport('');" type="button" value="按条件导出">
                        <input class="btn btn-danger" onclick="dxmOrderObj.updPrice('');" type="button" value="批量修改">
                    </div>
                </div>
            </div>
            <div class="col-sm-3 col-md-3 col-lg-12" id = 'sumTotalPrice' style="color: #FF0000;font-size: 20px">
                总销售额: ;总平台佣金: ;总采购金额: ;总物流运费: ;总退款金额: ;总毛利: 。
            </div>
            <div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="grossSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('gross');">毛利</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="grossMarginSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('grossMargin');">毛利率</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="costMarginSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('costMargin');">成本利润率</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="paymentTimeSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('paymentTime');">付款时间</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="printTimeSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('printTime');">打印面单时间</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="lastTimeSort" class="of-paging_sort_def" onclick="dxmOrderObj.search('lastTime');">物流最后时间</font>
                </div>
                <div class="col-sm-3 col-md-3 col-lg-1">
                    <font id="shippingDaySort" class="of-paging_sort_def" onclick="dxmOrderObj.search('shippingDay');">发货天数</font>
                </div>
              </div>
        </form>
    </div>
    <div class="table-wrapper chunk-table-wrapper">
        <!--分页显示数据-->
        <!--<?
            echo $this->_pagingHtml;
        ?>-->
    </div>
    <div style="color: #FF0000">
        美元兑人名币汇率固定为:6.58<br>
        毛利润 = 售价 - 平台佣金 - 采购总成本 - 物流运费 - 退款金额<br>
        毛利润率 = 毛利润 / 售价<br>
        成本利润率 = 毛利润 / (采购总成本 + 物流运费)<br>
    </div>
</div>
<canvas id="thepdfcanvas2" style="border:1px solid black;display:none;"></canvas>
<script _src="ROOT_URL.'/view/js/base.js'"></script>
<script _src="ROOT_URL.'/view/js/wish/dxmOrder.js'"></script>
<script _src="ROOT_URL.'/view/js/layer/layer.js'"></script>
<script _src="ROOT_URL.'/view/js/LodopFuncs.js'"></script>
<!-- 将pdf转为canvas元素的工具 -->
<script type="text/javascript" _src="ROOT_URL.'/view/js/pdfjs/build/pdf.js'"></script>
</body>
</html>
